package com.huike.clues.service.impl;

import com.huike.clues.domain.SysOperLog;
import com.huike.clues.mapper.SysOperLogMapper;
import com.huike.clues.service.ISysOperLogService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author EthanRuins
 * @date 2023/7/13
 * @apiNote
 */
@Service
@AllArgsConstructor
public class SysOperLogServiceImpl implements ISysOperLogService {
    private final SysOperLogMapper operLogMapper;

    @Override
    public List<SysOperLog> getList(SysOperLog sysOperLog) {
        return operLogMapper.getList(sysOperLog);
    }

    @Override
    public int deleteByIds(Long[] operIds) {
        return operLogMapper.deleteByIds(operIds);
    }

    @Override
    public void cleanOperLog() {
        operLogMapper.cleanOperLog();
    }
}
